<!--
 * @Description: 字体规则
 * @Author: charles
 * @Date: 2021-08-11 10:16:09
 * @LastEditors: charles
 * @LastEditTime: 2021-08-11 10:36:49
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>字体规则</title>
  <style>
    html {
      font: normal normal 14px/1.2 '宋体','微软雅黑';
    }
    .one {
      background-color: lightpink;
      font-size: 12px;
      font-family: '宋体','Microsoft Yahei';
      font-weight: bolder;
      font-style: italic;
      color: #333;
      line-height: 3em;   /*3 * 12 = 36*/
      line-height: 3rem;   /*3 * 14 = 42*/
    }
  </style>
</head>
<body>
  <div class="one">我校获批教育部首批新文科研究与实践项目两项</div>
  <div class="two">我校荣获首届全国教材建设奖（本科）</div>
</body>
</html>